home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
net
/
atcp_traceroute.lha
/
src
/
traceroute_ixsupport.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-09
|
264b
|
19 lines
#include <proto/exec.h>
#include <stdio.h>
/* obtain our own unique process number */
int getpid(void)
{
return((int)FindTask(NULL));
}
/* set buffering of a stream to 'line buffered' */
void setlinebuf(FILE *stream)
{
stream->_flag|=_IOLBF;
}